﻿using System.Data.Entity.ModelConfiguration;
using FootballCourt.Domain.Entity;

namespace FootballCourt.Data.Configuration
{
    public class UserTypeConfiguration: EntityTypeConfiguration<UserType>
    {
        public UserTypeConfiguration()
        {
            HasKey(x => x.Id);
            Property(x => x.UserTypeName).HasMaxLength(50);
        }
    }
}
